package controllers;

import java.util.List;

import models.Idea;
import models.Plan;
import models.Request;
import models.Topic;
/**
 * 
 * this class is an object that holds search results for all main entities (ideas, topics, enities, organization, plans, request)
 * 
 * @author Amr Draz
 * @version 2011.5.5
 * @category C4S2
 * 
 */
public class SearchResult {
	
	public List<Idea> ideas;
	public List<Topic> topics;
	public List<Idea> entities;
	public List<Topic> organizations;
	public List<Plan>  plans;
	public List<Request> requests;
	
	public List<Request> getRequests() {
		return requests;
	}
	public void setRequests(List<Request> requests) {
		this.requests = requests;
	}
	public List<Plan> getPlans() {
		return plans;
	}
	public void setPlans(List<Plan> plans) {
		this.plans = plans;
	}
	public List<Idea> getIdeas() {
		return ideas;
	}
	public void setIdeas(List<Idea> ideas) {
		this.ideas = ideas;
	}
	public List<Topic> getTopics() {
		return topics;
	}
	public void setTopics(List<Topic> topics) {
		this.topics = topics;
	}
	public List<Idea> getEntities() {
		return entities;
	}
	public void setEntities(List<Idea> entities) {
		this.entities = entities;
	}
	public List<Topic> getOrganizations() {
		return organizations;
	}
	public void setOrganizations(List<Topic> organizations) {
		this.organizations = organizations;
	}		

}
